package com.venusj.dao;

import com.venusj.pojo.User;
import org.dom4j.DocumentException;

import java.beans.PropertyVetoException;
import java.util.List;

/**
 * @author zhangjh
 * @date 2020/10/16
 * @desc
 */
public interface UserDao {
    List<User> findAll() throws PropertyVetoException, DocumentException;

    User findByCondition(User user) throws PropertyVetoException, DocumentException;
}
